package dkbta.ontology.elements.pattern.conditions;

import dkbta.ontology.elements.Element;

/**
 * A pair-wise temporal condition on two pattern elements
 * 
 * @author Uri Kanonov
 */
public abstract class TemporalCondition{
	public enum Type{
		BEFORE, OVERLAPPING;
	}

	/**
	 * Checks whether the two given elements are matching the temporal condition
	 * 
	 * @param first The first element
	 * @param second The second element
	 * @return Whether the two given elements are matching the condition
	 */
	public abstract boolean checkCondition(Element first, Element second);
}
